import java.util.Scanner;

public class ExcTest {
	public static void main(String[] args) {
		// 请在Begin-End间编写代码
		/********** Begin **********/
		// 接收给定的整数
		Scanner sc = new Scanner(System.in);
		int dividend = sc.nextInt();
		int divisor = sc.nextInt();

		// 求商并捕获除数为0的异常
		try {
			int quotient = dividend / divisor;
			System.out.println(quotient);
		} catch (ArithmeticException e) {
			System.out.println("除数不能为0");
		}
		/********** End **********/
	}
}